import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 导入css样式
import './styles/index.less'
// rem适配
import 'amfe-flexible'

// 加载vant组件
import Vant from 'vant'
import 'vant/lib/index.css'
import { Button } from 'vant';
import { Cell, CellGroup } from 'vant';
import { Col, Row } from 'vant';

Vue.use(Col);
Vue.use(Row);
Vue.use(Cell);
Vue.use(CellGroup);
Vue.use(Button);

// 注册使用vant组件库
Vue.use(Vant)
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
